export const CONTRACT_COLUMNS = [
  {
    width: '40',
    prop: 'checkbox'
  },
  // { label: '序号', type: 'index', width: 56 },
  {
    width: '260',
    prop: 'supplierName',
    label: '厂家'
  },
  {
    'min-width': '220',
    prop: 'productLineName',
    label: '产品线'
  },
  {
    width: '120',
    prop: 'businessModel',
    label: '业务类型'
  },
  {
    'min-width': '120',
    prop: 'marketDesc',
    label: '市场渠道'
  },
  {
    width: '220',
    prop: 'endDateActive',
    label: '有效期至'
  }
];

export const ATTRIBUTE_TYPE_OPTIONS = {
  1: 'input',
  2: 'radio-group',
  3: 'select',
  4: 'date-picker', // 精确到日
  5: 'input', // Number
  6: 'date-picker' // 精确到秒
};

export const tabArr = [
  {
    lab: '附加信息',
    val: 0
  },
  {
    lab: '发票信息',
    val: 1
  },
  {
    lab: '其他附件',
    val: 2
  }
];
// 发票信息表头
export const INVOICE_COLUMNS = [
  { label: '序号', type: 'index', width: 56 },
  { width: '200', prop: 'fileUrl', label: '发票电子版' },
  { width: '180', prop: 'invoiceSellerName', label: '开票方'},
  { 'min-width': '220', prop: 'invoiceCode', label: '发票代码（12位）' },
  { width: '120', prop: 'invoiceNum', label: '发票号（8位）' },
  { width: '180', prop: 'invoiceCheckCode', label: '校验码' },
  { 'min-width': '120', prop: 'invoiceTittle', label: '发票抬头' },
  { width: '220', prop: 'invoiceAmount', label: '发票金额(元)' },
  { width: '220', prop: 'invoiceDate', label: '开票日期' },
  { width: '80', prop: 'ops', label: '操作', fixed: 'right' }
];

// 其他附件表头
export const ACCESSORIES_COLUMNS = [
  {
    label: '序号',
    type: 'index',
    width: 56
  },
  {
    'min-width': '220',
    prop: 'fileUrl',
    label: '附件'
  },
  {
    width: '80',
    prop: 'ops',
    label: '操作',
    fixed: 'right'
  }
];
